<template>
  <div class="header-nav-dropdown-wrapper">
    <div class="left">
      <div class="title">快捷链接</div>
      <div class="bottom" @click.stop="navClick(VS_URL.home)">
        <img class="backimg" src="@/assets/img/header/product/back.png" alt="">
        <div>销售通首页</div>
        <div class="zhushi">一站式场外产品交易服务平台</div>
      </div>
      <div class="bottom top" @click.stop="navClick(VS_URL.account)">
        <img class="backimg" src="@/assets/img/header/product/back1.png" alt=""/>
        <div class="back1">销售通账户</div>
      </div>
      <div class="bottom top" @click.stop="navClick(VS_URL.fundresearch)">
        <img class="backimg" src="@/assets/img/header/product/nav_product_company_icon62.png" alt=""/>
        <div class="back1">基金管理人</div>
      </div>
      <img class="img" src="@/assets/img/header/product/nav_img.png" alt="">
    </div>
    <div class="mleft">
      <div class="title">代销产品</div>
      <div class="main">
        <div class="left1">
          <div class="text" @click.stop="navClick(VS_URL.publicfund)">
            <!-- <img src="@/assets/img/header/product/nav_product_Public_icon62.png" alt="" /> -->
            <div class="bottom">公募产品</div>
            <img class="rightimg" src="@/assets/img/header/product/arrow-black.png" alt="">
          </div>
          <li class="text" @click.stop="navClick(VS_URL.seniorSecurity)">
            <!-- <img :src="PRODUCT_LIST[3].icon" alt="" class="item-icon" /> -->
            <span class="bottom">券商资管</span>
            <img class="rightimg" src="@/assets/img/header/product/arrow-black.png" alt="">
          </li>
          <li class="text" @click.stop="navClick(VS_URL.seniorFuture)">
            <!-- <img src="@/assets/img/header/product/qh.png" alt="" class="item-icon" /> -->
            <span class="bottom">期货资管</span>
            <img class="rightimg" src="@/assets/img/header/product/arrow-black.png" alt="">
          </li>
          <li class="text" @click.stop="navClick(VS_URL.cnjj)">
            <!-- <img src="@/assets/img/header/product/qh.png" alt="" class="item-icon" /> -->
            <span class="bottom">场内基金</span>
            <img class="rightimg" src="@/assets/img/header/product/arrow-black.png" alt="">
          </li>
        </div>
        <div class="right1">
          <div class="text1">
            <!-- <img src="@/assets/img/header/product/nav_product_Private_icon62.png" alt="" /> -->
            <div class="texthover" @click.stop="navClick(VS_URL.seniorPrivate)">私募产品</div>
          </div>
          <div class="back">
            <div class="texthover" @click.stop="navClick(VS_URL.seniorSpecial)">基金专户</div>
            <div class="texthover" @click.stop="navClick(VS_URL.seniorTrust)">信托计划</div>
            <div class="texthover" @click.stop="navClick(VS_URL.seniorInsurance)">保险资管</div>
            <div class="texthover" @click.stop="navClick(VS_URL.seniorPrivate)">私募基金</div>
            <div class="texthover" @click.stop="navClick(VS_URL.seniorPrivateZone)">高端理财定制专区</div>

          </div>
        </div>
      </div>
      <div class="title margintop">券商理财</div>
      <div class="list">
        <ul class="ul-dropdown-list">
          <li class="item" @click.stop="navClick(PRODUCT_LIST[0])">
            <!-- <img :src="PRODUCT_LIST[0].icon" alt="" class="item-icon" /> -->
            <span class="item-title">{{ PRODUCT_LIST[0].title }}</span>
            <img class="rightimg" src="@/assets/img/header/product/arrow-black.png" alt="">
          </li>
          <li class="item" @click.stop="navClick(PRODUCT_LIST[1])">
            <!-- <img :src="PRODUCT_LIST[1].icon" alt="" class="item-icon" /> -->
            <span class="item-title">{{ PRODUCT_LIST[1].title }}</span>
            <img class="rightimg" src="@/assets/img/header/product/arrow-black.png" alt="">
          </li>
        </ul>
      </div>
    </div>
    <div class="mright">
      <div class="title">FICC产品</div>
      <div class="main">
        <div class="left1">
          <div class="text2">
            <!-- <img src="@/assets/img/header/product/ficc.png" alt="" /> -->
            <div class="bottom" @click.stop="navClick(PRODUCT_LIST[3])">FICC策略指数</div>
          </div>
          <div class="back">
            <div class="texthover" @click.stop="navClick(PRODUCT_LIST[3])">大类资产指数</div>
            <div class="texthover" @click.stop="navClick('unopen')">中国股债均衡策略指数</div>
            <div class="texthover" @click.stop="navClick('unopen')">低碳指数</div>
          </div>
        </div>
        <div class="right1">
          <div class="text">
            <!-- <img :src="PRODUCT_LIST[2].icon" alt="" class="item-icon" /> -->
            <div class="bottom" @click.stop="navClick(PRODUCT_LIST[2])">{{ PRODUCT_LIST[2].title }}</div>
            <img class="rightimg" src="@/assets/img/header/product/arrow-black.png" alt="">
          </div>
        </div>
      </div>
      <div class="title top">产品研究</div>
      <div class="list">
        <ul class="ul-dropdown-list">
          <li class="item" @click.stop="jumpYb('产品分析报告')">
            <!-- <img src="@/assets/img/header/product/cp.png" alt="" class="item-icon" /> -->
            <span class="item-title">产品分析报告</span>
            <img class="rightimg" src="@/assets/img/header/product/arrow-gray.png" alt="">
          </li>
          <li class="item" @click.stop="jumpYb('私募之窗')">
            <!-- <img src="@/assets/img/header/product/sm.png" alt="" class="item-icon" /> -->
            <span class="item-title">私募之窗</span>
            <img class="rightimg" src="@/assets/img/header/product/arrow-gray.png" alt="">
          </li>
          <li class="item" @click.stop="jumpYb('基金公司专区')">
            <!-- <img src="@/assets/img/header/product/jj.png" alt="" class="item-icon" /> -->
            <span class="item-title">基金公司专区</span>
            <img class="rightimg" src="@/assets/img/header/product/arrow-gray.png" alt="">
          </li>
        </ul>
      </div>
    </div>
  </div>
</template>

<script>
import { PRODUCT_LIST } from './navmenu.data';
import { mapGetters } from 'vuex';
import { verifyRoles } from '@/utils/verify';
export default {
  data () {
    return {
      PRODUCT_LIST,
      VS_URL: {
        home: {
          title: '销售通首页',
          value: '/home',
          inner: true
        },
        fundresearch: {
          title: '基金研究',
          value: '/fundresearch',
          inner: true
        },
        publicfund: {
          title: '公募基金',
          value: '/publicfund',
          inner: true
        },
        account: {
          title: '我的账户',
          value: '/account',
          inner: true
        },
        // tianhuibao: {
        //   title: '天汇宝',
        //   value: '/tianhuibao',
        //   inner: true
        // },
        // IncomeReceipts: {
        //   title: '收益凭证',
        //   value: '/IncomeReceipts',
        //   inner: true
        // },
        seniorSecurity: {
          title: '证券资管',
          value: '/senior/security',
          inner: true
        },
        seniorFuture: {
          title: '期货资管',
          value: '/senior/future',
          inner: true
        },
        cnjj: {
          title: '场内基金',
          value: '/cnjj',
          inner: true
        },
        seniorTrust: {
          title: '信托计划',
          value: '/senior/trust',
          inner: true
        },
        seniorSpecial: {
          title: '基金专户',
          value: '/senior/special',
          inner: true
        },
        seniorInsurance: {
          title: '保险资管',
          value: '/senior/insurance',
          inner: true
        },
        seniorPrivate: {
          title: '私募基金',
          value: '/senior/private',
          inner: true
        },
        seniorPrivateZone: {
          title: '高端理财定制专区',
          value: '/senior/privateZone',
          inner: true
        }
      }
    };
  },
  computed: {
    ...mapGetters({
      contexInfo: 'contexInfo'
    }),
    industryData () {
      return this.$store.state.investigate.industryData || [];
    },
    // 组装树形结构行业数据
    industryDataTree () {
      let arr = [];
      if (this.industryData.length > 0) {
        arr = this.industryData.filter((item) => {
          const childArr = this.industryData.filter((child) => child.pid === item.rguid);
          item.children = childArr.length > 0 ? childArr : [];

          return !item.pid;
        });
      }
      return arr;
    },

    // 简单实现瀑布流数据
    industryWaterfullData () {
      if (this.industryDataTree.length > 0) {
        const result = Array(5)
          .fill(1)
          .map((item, index) => {
            return { id: index, count: 0, data: [] };
          });

        this.industryDataTree.forEach((item) => {
          const obj = this.getMinCountData(result);
          obj.count += item.children.length + 2; // +2 每一个父亲元素约占位2个子元素高度
          obj.data.push(item);
        });

        return result.sort((a, b) => a.id - b.id);
      }
      return [];
    }
  },
  methods: {
    navClick (item) {
      if (item === 'unopen') {
        this.$message('暂未开放，敬请期待');
      } else {
        if (item.title == '大类资产指数' || item.title == '固收及"固收+"') {
          verifyRoles('product', '1');
          return;
        }
        this.$emit('nav-click', item);
      }
    },
    arr () {
      let VINTEXRoleId;
      if (process.env.NODE_ENV === 'development') {
        VINTEXRoleId = ['XST000', 'XST001', 'XST002', 'XST003', 'XST004'];
      } else {
        VINTEXRoleId = this.contexInfo.roleIds.split(',');
      }
      const VINTEXRoleId1 = ['XST000', 'XST001', 'XST002', 'XST003', 'XST004'];
      const newArr = [];
      for (let i = 0; i < VINTEXRoleId1.length; i++) {
        for (let j = 0; j < VINTEXRoleId.length; j++) {
          if (VINTEXRoleId[j] === VINTEXRoleId1[i]) {
            newArr.push(VINTEXRoleId[j]);
          }
        }
      }
      return newArr.length;
    },
    // 获取count最小对象
    getMinCountData (arr) {
      if (arr.length > 0) {
        return arr.sort((a, b) => {
          return a.count - b.count;
        })[0];
      }
    },
    jumpYb (name) {
      let yb = [];
      for (let i = 0; i < this.industryWaterfullData.length; i++) {
        for (let j = 0; j < this.industryWaterfullData[i].data.length; j++) {
          if (this.industryWaterfullData[i].data[j].industryName == '产品') {
            yb = this.industryWaterfullData[i].data[j].children;
          }
        }
      }
      const item = yb.filter(item => item.industryName === name)[0];
      const path = `/${item.industryName}?name=${item.industryName}&sources=${item.sources}&pid=${item.pid}&id=${item.rguid}`;
      if (name === '私募之窗' && localStorage.getItem('VINTEX_commit') !== '1') {
        this.$store.commit('updateShowCommitment', true);
        this.$store.commit('updatePathCommitment', process.env.VUE_APP_SERVICE_CP_NEWPRODUCTRESEARCH + path);
      } else {
        window.location.href = process.env.VUE_APP_SERVICE_CP_NEWPRODUCTRESEARCH + path;
      }
    }
  },
  created () {
    if (this.industryData.length === 0) {
      this.$store.dispatch('getIndustryData');
    }
  }
};
</script>
<style lang="scss" scoped>
  .rightimg{
    margin-left: 8px;
  }
.header-nav-dropdown-wrapper {
  background: #FFFFFF;
  border: 1px solid #D8DCE6;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.2);
  display: flex;
  .title {
      font-family: 'Source Han Sans CN';
      font-style: normal;
      font-weight: 700;
      font-size: 16px;
      line-height: 24px;
      /* identical to box height */
      color: #333333;
      padding-bottom: 10px;
      &.margintop{
        margin-top: 13px;
      }
      &.margintop1{
        margin-top: 15px;
      }
    }
  .left {
    // width: 200px;
    height: 357px;
    background-color: #F5FAFF;
    // background: #d5e7fb;
    padding: 24px 24px 0;
    background: url('~@/assets/img/header/product/nav_bg.png') left 0px bottom 0px no-repeat;
    .img{
      position: absolute;
      left: 100px;
      bottom: 0;
    }
    .bottom {
      font-family: 'Source Han Sans CN';
      font-style: normal;
      font-weight: 700;
      font-size: 16px;
      padding-top: 7px;
      // line-height: 60px;
      /* identical to box height */
      line-height: 24px;
      color: #325993;
      position:relative;
      cursor: pointer;
      &:hover {
        color: $app-main-color;
      }
      &.top{
        margin-top: 10px;
        z-index: 10;
      }
      .back1{
        line-height: 45px;
      }
      .zhushi {
        font-size: 12px;
        line-height: 18px;
        /* identical to box height */
        font-weight: 400;

        color: #7A7D96;
      }
      width: 190px;
      height: 60px;
      padding-left: 68px;
      background: linear-gradient(185.89deg, #E8EEFD 8.08%, rgba(248, 251, 255, 0.88) 81.76%);
      border: 2px solid #FFFFFF;
      box-shadow: 0px -4px 16px -2px #FFFFFF, 0px 2px 2px rgba(197, 210, 232, 0.4);
      border-radius: 4px;
      .backimg{
        position: absolute;
        left: 22px;
        top: 14px;
        width: 30px;
        height: 30px;
      }
      // background: url('~@/assets/img/header/product/back.png') 20px 15px no-repeat;
    }
    .title1 {
      width: 232px;
      font-family: 'Source Han Sans CN';
      font-style: normal;
      font-weight: 700;
      font-size: 16px;
      // line-height: 60px;
      /* identical to box height */
      margin-top: 15px;
      color: #1c203f;
    }
  }
  .mleft {
    margin: 20px 20px 0;
    width: 340px;
    .title {
      font-family: 'Source Han Sans CN';
      font-style: normal;
      font-weight: 700;
      font-size: 16px;
      line-height: 24px;
      /* identical to box height */
      color: #333333;
      padding-bottom: 8px;
      border-bottom: 1px solid #D5D8DE;

    }
    .list {
      .ul-dropdown-list {
        display: flex;
        display: -webkit-flex;
        justify-content: space-between;
        flex-direction: row;
        flex-wrap: wrap;
        margin-top: 14px;
        .item {
          cursor: pointer;
          &:hover {
            color: $app-main-color;
          }
          width: 160px;
          margin-bottom: 19px;
          .item-icon {
            width: 16px;
            height: 16px;
            margin-right: 6px;
            margin-bottom: 2px;
          }
          .item-title {
            flex: 1;
            font-family: 'Source Han Sans CN';
            font-weight: 500;
            font-style: normal;
            // font-weight: 700;
            font-size: 14px;
            line-height: 21px;
            /* identical to box height */
            color: #4B5668;
            &:hover {
              color: $app-main-color;
            }
          }
          .item-i {
            margin-left: 13px;
          }
        }
      }
    }
    .main {
      margin-top: 14px;
      display: flex;

      .left1 {
        width: 160px;
        .bottom{
          font-family: 'Source Han Sans CN';
font-style: normal;
font-weight: 500;
font-size: 14px;
line-height: 21px;
font-weight: 500;
/* identical to box height */
color: #4B5668;
        }
        .text {
          display: flex;
          font-family: Source Han Sans CN;
          font-style: normal;
          // font-weight: bold;
          font-size: 14px;
          line-height: 21px;
          /* identical to box height */
          color: #000000;
          cursor: pointer;
          margin: 0 0 19px ;
          &:hover {
            color: $app-main-color;
          }
          img {
            width: 16px;
            height: 16px;
            margin-right: 6px;
            margin-top: 2px;
          }
          // div {
          //   flex: 1;
          //   background: url('~@/assets/img/header/product/arrow-black.png') 69px 3px no-repeat;
          // }
        }
        .texthover {
          font-family: 'Source Han Sans CN';
font-style: normal;
font-weight: 400;
font-size: 12px;
line-height: 18px;
/* identical to box height */

color: #000000;

          cursor: pointer;
          &:hover {
            color: $app-main-color;
          }
        }
        .text1 {
          display: flex;
          font-family: Source Han Sans CN;
          font-style: normal;
          // font-weight: bold;
          font-size: 14px;
          line-height: 21px;
          /* identical to box height */
          color: #000000;
          margin-top: 19px;
          margin-bottom: 7px;
          img {
            width: 16px;
            height: 16px;
            margin-right: 6px;
            margin-top: 2px;
          }
          div {
            flex: 1;
          }
        }
        .text2 {
          display: flex;
          font-family: Source Han Sans CN;
          font-style: normal;
          // font-weight: bold;
          font-size: 14px;
          font-weight: 500;
          line-height: 21px;
          /* identical to box height */
          color: #4B5668;
          margin-bottom: 7px;
          cursor: pointer;
          img {
            width: 16px;
            height: 16px;
            margin-right: 6px;
            margin-top: 2px;
          }
          div {
            flex: 1;
          }
        }
        .back {
          width: 160px;
          // height: 86px;
          // left: 580px;
          // top: 221px;
          // padding: 8px 0 0;
          padding-top: 8px;
          font-size: 12px;
          line-height: 18px;
          background: #e2ebfc;
          border-radius: 2px;
          margin-bottom: 14px;
          div {
            padding-left: 22px;
            padding-bottom: 8px;
          }
        }
      }
      .right1 {
        margin-left: 20px;
        width: 160px;
        .text {
          display: flex;
          font-family: Source Han Sans CN;
          font-style: normal;
          // font-weight: bold;
          font-size: 14px;
          line-height: 21px;
          /* identical to box height */
          color: #000000;
          cursor: pointer;
          &:hover {
            color: $app-main-color;
          }
          img {
            width: 16px;
            height: 16px;
            margin-right: 6px;
            margin-top: 2px;
          }
          div {
            flex: 1;
            // background: url('~@/assets/img/header/product/arrow-black.png') 69px 3px no-repeat;
          }
        }
        .texthover {
          font-family: 'Source Han Sans CN';
font-style: normal;
font-weight: 400;
font-size: 12px;
line-height: 18px;
/* identical to box height */

color: #000000;

          cursor: pointer;
          &:hover {
            color: $app-main-color;
          }
        }
        .text1 {
          display: flex;
          font-family: Source Han Sans CN;
          font-style: normal;
          // font-weight: bold;
          font-size: 14px;
          font-weight: 500;
          line-height: 21px;
          /* identical to box height */
          color: #5B677C;
          // margin-top: 19px;
          margin-bottom: 7px;
          img {
            width: 16px;
            height: 16px;
            margin-right: 6px;
            margin-top: 2px;
          }
          div {
            flex: 1;
          }
        }
        .back {
          width: 160px;
          // height: 86px;
          // left: 580px;
          // top: 221px;
          // padding: 8px 0 0;
          padding-top: 8px;
          font-size: 12px;
          line-height: 18px;
          background: #e2ebfc;
          border-radius: 2px;
          margin-bottom: 14px;
          div {
            padding-left: 22px;
            padding-bottom: 8px;
          }
        }
      }
    }
  }
  .mright {
    margin: 20px 20px 0;
    width: 340px;

    .main {
      margin-top: 14px;
      display: flex;

      .left1 {
        width: 160px;
        .bottom{
          font-family: 'Source Han Sans CN';
font-style: normal;
font-weight: 500;
font-size: 14px;
line-height: 21px;
/* identical to box height */
color: #4B5668;
        }
        .text {
          display: flex;
          font-family: Source Han Sans CN;
          font-style: normal;
          // font-weight: bold;
          font-size: 14px;
          line-height: 21px;
          /* identical to box height */
          color: #000000;
          cursor: pointer;
          margin: 0 0 19px ;
          &:hover {
            color: $app-main-color;
          }
          img {
            width: 16px;
            height: 16px;
            margin-right: 6px;
            margin-top: 2px;
          }
          // div {
          //   flex: 1;
          //   background: url('~@/assets/img/header/product/arrow-black.png') 69px 3px no-repeat;
          // }
        }
        .texthover {
          font-family: 'Source Han Sans CN';
font-style: normal;
font-weight: 400;
font-size: 12px;
line-height: 18px;
/* identical to box height */

color: #000000;

          cursor: pointer;
          &:hover {
            color: $app-main-color;
          }
        }
        .text1 {
          display: flex;
          font-family: Source Han Sans CN;
          font-style: normal;
          // font-weight: bold;
          font-size: 14px;
          line-height: 21px;
          /* identical to box height */
          color: #000000;
          margin-top: 19px;
          margin-bottom: 7px;
          img {
            width: 16px;
            height: 16px;
            margin-right: 6px;
            margin-top: 2px;
          }
          div {
            flex: 1;
          }
        }
        .text2 {
          display: flex;
          font-family: Source Han Sans CN;
          font-style: normal;
          // font-weight: bold;
          font-weight: 500;
          font-size: 14px;
          line-height: 21px;
          /* identical to box height */
          color: #4B5668;
          margin-bottom: 7px;
          cursor: pointer;
          img {
            width: 16px;
            height: 16px;
            margin-right: 6px;
            margin-top: 2px;
          }
          div {
            flex: 1;
          }
        }
        .back {
          width: 160px;
          // height: 86px;
          // left: 580px;
          // top: 221px;
          // padding: 8px 0 0;
          padding-top: 8px;
          font-size: 12px;
          line-height: 18px;
          background: #e2ebfc;
          border-radius: 2px;
          margin-bottom: 14px;
          div {
            padding-left: 22px;
            padding-bottom: 8px;
          }
        }
      }
      .right1 {
        margin-left: 20px;
        width: 160px;
        .text {
          display: flex;
          font-family: Source Han Sans CN;
          font-style: normal;
          // font-weight: bold;
          font-size: 14px;
          font-weight: 500;
          line-height: 21px;
          /* identical to box height */
          color: #4B5668;
          cursor: pointer;
          &:hover {
            color: $app-main-color;
          }
          img {
            width: 16px;
            height: 16px;
            margin-right: 6px;
            margin-top: 2px;
          }
          div {
            // flex: 1;
            // background: url('~@/assets/img/header/product/arrow-black.png') 69px 3px no-repeat;
          }
        }
        .texthover {
          font-family: 'Source Han Sans CN';
font-style: normal;
font-weight: 400;
font-size: 12px;
line-height: 18px;
/* identical to box height */

color: #000000;

          cursor: pointer;
          &:hover {
            color: $app-main-color;
          }
        }
        .text1 {
          display: flex;
          font-family: Source Han Sans CN;
          font-style: normal;
          // font-weight: bold;
          font-size: 14px;
          line-height: 21px;
          /* identical to box height */
          color: #000000;
          // margin-top: 19px;
          margin-bottom: 7px;
          img {
            width: 16px;
            height: 16px;
            margin-right: 6px;
            margin-top: 2px;
          }
          div {
            flex: 1;
          }
        }
        .back {
          width: 160px;
          // height: 86px;
          // left: 580px;
          // top: 221px;
          // padding: 8px 0 0;
          padding-top: 8px;
          font-size: 12px;
          line-height: 18px;
          background: #e2ebfc;
          border-radius: 2px;
          margin-bottom: 14px;
          div {
            padding-left: 22px;
            padding-bottom: 8px;
          }
        }
      }
    }
    .title {
      font-family: 'Source Han Sans CN';
      font-style: normal;
      font-weight: 700;
      font-size: 16px;
      line-height: 24px;
      /* identical to box height */
      color: #333333;
      /* identical to box height */
      padding-bottom: 8px;
      border-bottom: 1px solid #D5D8DE;
    }
    .list {
      .ul-dropdown-list {
        display: flex;
        display: -webkit-flex;
        justify-content: space-between;
        flex-direction: row;
        flex-wrap: wrap;
        margin-top: 14px;
        .item {
          cursor: pointer;
          &:hover {
            color: $app-main-color;
          }
          width: 160px;
          margin-bottom: 19px;
          .item-icon {
            width: 16px;
            height: 16px;
            margin-right: 6px;
            margin-bottom: 2px;
          }
          .item-title {
            flex: 1;
            font-family: 'Source Han Sans CN';
            font-style: normal;
            // font-weight: 700;
            font-size: 14px;
            font-weight: 500;
            line-height: 21px;
            /* identical to box height */
            color: #4B5668;
            &:hover {
              color: $app-main-color;
            }
          }
          .item-i {
            margin-left: 13px;
          }
        }
      }
    }
  }
  .right {
    margin: 20px 20px 0;
    width: 200px;
    .rmain {
      display: flex;
      width: 200px;
      height: 56px;
      background: linear-gradient(180deg, #eef4ff 0%, #f4f8ff 100%);
      border: 2px solid #ffffff;
      box-sizing: border-box;
      box-shadow: 0px 2px 4px 2px rgba(197, 210, 232, 0.88);
      border-radius: 4px;
      img {
        width: 34px;
        height: 34px;
        margin: 12px 0 0 20px;
      }
      div {
        cursor: pointer;
        &:hover {
          color: $app-main-color;
        }
        width: 64px;
        height: 24px;
        font-family: Source Han Sans CN;
        font-style: normal;
        font-weight: bold;
        font-size: 16px;
        line-height: 24px;
        /* identical to box height */
        margin: 16px 0 0 17px;

        color: #1c203f;
      }
    }
  }
}
.gray{
  color: #999999 !important;
  // background:#999999 !important
}
// @import '@/styles/header.nav.scss';
</style>
